package com.entity;

import org.springframework.stereotype.Component;

@Component
public class User {
	private int userid;
	private String pwd;
	private String sex;
	private double money;
	private String username;
	private String email;
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	private String label;
	private String state;
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [userid=" + userid + ", pwd=" + pwd + ", sex=" + sex + ", money=" + money + ", username="
				+ username + ", email=" + email + ", label=" + label + ", state=" + state + "]";
	}
	public User(int userid, String pwd, String sex, double money, String username, String email,String label) {
		super();
		this.userid = userid;
		this.pwd = pwd;
		this.sex = sex;
		this.money = money;
		this.username = username;
		this.email = email;
		this.label=label;
	}
	public User(int userid, String pwd, String sex, double money, String username, String email, String label,
			String state) {
		super();
		this.userid = userid;
		this.pwd = pwd;
		this.sex = sex;
		this.money = money;
		this.username = username;
		this.email = email;
		this.label = label;
		this.state = state;
	}
	public User() {}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
}
